export default {
  // 1. 昵称
  nickname (state) {
    return state.userInfo.profile.nickname
  },
  // 2. 头像
  avatarUrl (state) {
    return state.userInfo.profile.avatarUrl
  },
  // 3. 是否在播放
  isPlay (state) {
    return state.playInfo.isPlay
  },
  // 4. 获取history的length
  historyLength (state) {
    return state.history.length
  }
}
